a = ["BIT", 3.1415, 1024, (2, "3"), {4, 5, "6"}, [7, 8, "9"]]
m = [111111, 222222]
b = set(m)
print(a)
a[0] = 2048
print(a)
a[1:5:2] = b
print(a)
del a[1]
print(a)
del a[0:-1:2]
print(a)
a += b
print(a)
a *= 3
print(a)

a = ["BIT", 3.1415, 1024, (2, "3"), {4, 5, "6"}, [7, 8, "9"]]
b = [111111, 222222]
a.append(66666)
print(a)
c = a.copy()
print(c)
a.insert(1, 114514)
print(a)
a.pop(5)
print(a)
d = [1, 1, 4, 5, 1, 4]
d.remove(4)
print(d)
d.reverse()
print(d)
a.clear()
print(a)

# ls = ["cat", "dog", "tiger", 1024]
# print(ls)
# lt = ls
# print(lt)
# ls[2] = "chicken"
# print(ls)

# 应用
ls = ["cat", "dog", "tiger", 1024]
lt = tuple(ls)
print(lt)
